SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 41684: RTF output appears truncated when a very long text string spans multiple pages

DetailsAboutRate It

If the text within a single cell spans more than one RTF page, the output will appear truncated when the RTF file is opened in Microsoft Word. Examining the RTF file through a text editor shows that the text is contained in the file in its entirety, but Microsoft Word displays only the first page of the cell.

In SAS® 9.4M4 (TS1M4), the NOTRKEEP option in the ODS RTF statement will prevent the problem.

To circumvent the problem prior to SAS 9.4M4, do one of the following:

  1. Use the MSOFFICE2K tagset to create the RTF output as illustrated below.
    ods tagsets.msoffice2k file="file.rtf"; /* Place the code to create the table here */ ods tagsets.msoffice2k close;
  2. Use the DATA step to make multiple observations out of the long text string's value as demonstrated in Sample 24672.


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.1 TS1M3 SP49.4 TS1M4
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M3 SP4
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M3 SP4
Microsoft Windows XP 64-bit Edition9.1 TS1M3 SP4
Microsoft Windows 2000 Advanced Server9.1 TS1M3 SP4
Microsoft Windows 2000 Datacenter Server9.1 TS1M3 SP4
Microsoft Windows 2000 Server9.1 TS1M3 SP4
Microsoft Windows 2000 Professional9.1 TS1M3 SP4
Microsoft Windows NT Workstation9.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3 SP4
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3 SP4
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3 SP4
Microsoft Windows XP Professional9.1 TS1M3 SP4
Windows Vista9.1 TS1M3 SP4
Windows Vista for x649.1 TS1M3 SP4
64-bit Enabled AIX9.1 TS1M3 SP49.4 TS1M4
64-bit Enabled HP-UX9.1 TS1M3 SP49.4 TS1M4
64-bit Enabled Solaris9.1 TS1M3 SP49.4 TS1M4
HP-UX IPF9.1 TS1M3 SP49.4 TS1M4
Linux9.1 TS1M3 SP49.4 TS1M4
Linux on Itanium9.1 TS1M3 SP49.4 TS1M4
OpenVMS Alpha9.1 TS1M3 SP49.4 TS1M4
Solaris for x649.1 TS1M3 SP49.4 TS1M4
Tru64 UNIX9.1 TS1M3 SP49.4 TS1M4
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.